<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./../../admin/layui/css/layui.css">
    <script src="./../../admin/layui/layui.js"></script>
    <script src="./../../admin/js/menu.js"></script>
</head>

<body>
    <div class="demoTable">
        搜索ID：
        <div class="layui-inline">
            <input class="layui-input" name="id" id="demoReload" autocomplete="off">
        </div>
        <button class="layui-btn" data-type="reload">搜索</button>
    </div>
    <table class="layui-hide" id="test" lay-filter="test">
    </table>
    <!-- 删除数据 -->
    <script type="text/html" id="barDemo">
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    </script>
    <!-- 添加数据 -->
    <script type="text/html" id="toolbarDemo">
        <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" id="addMenu" lay-event="addMenu">添加菜单</button>
    </div>
    </script>
    <!-- 菜单状态的切换 -->
    <script type="text/html" id="checkboxTpl">
      <!-- 这里的 checked 的状态只是演示 -->
      <input type="checkbox" name="status" value="{{d.m_status2}}" title="开启" lay-filter="lockDemo" {{ d.m_status2 == "on" ? 'checked' : '' }}>
    </script>
</body>

</html>